package com.java.polymorphism;

/**
 * 多态 - 父类
 */
public class Parent {
    public String name = "父类成员变量";
    public String parent = "parent";
    
    public void publicFunc1() {
        System.out.println("父类公共成员方法");
    }
    
    public void publicFunc2() {
        System.out.println("父类公共成员方法");
    }
    
    static void staticFunc() {
        System.out.println("父类静态成员方法");
    }
}
